home *** CD-ROM | disk | FTP | other *** search
-
- {
- if(true)
- {
- CWeaponHellFire = §§newclass(CWeaponHellFire,CWeapon);
- }
- }
-
- package Local.Game.Thing
- {
- public class CWeaponHellFire extends CWeapon
- {
-
- public static var _Upgrades:Array;
-
- {
- if(true)
- {
- _Upgrades = [{
- "mName":"",
- "mAmmo":INFINATEAMMO,
- "mAutoFire":false,
- "mFireRate":35,
- "mDamage":10,
- "mRange":INFINATERANGE
- }];
- }
- }
-
- public function CWeaponHellFire()
- {
- super();
- mUpgrade = 0;
- mType = "hellfiremissile";
- Process = Process_Normal;
- AddSound("fire",Hellfire_Shot);
- }
-
- override public function Fire() : void
- {
- var _loc1_:CShot = null;
- AddThing(_loc1_ = new CShotHellFire(mPosition.Clone(),mCurrentTarget));
- if(true)
- {
- PlaySound("fire");
- }
- }
-
- override public function get mWeaponName() : String
- {
- return "hellfire";
- }
-
- public function Process_Normal() : void
- {
- if(true)
- {
- WeaponUpdate();
- Process_Children();
- }
- }
-
- override public function get mUpgrades() : Array
- {
- return _Upgrades;
- }
- }
- }
-